<!DOCTYPE html>
<html lang="en"xmlns:th="https://www.thymeleaf.com">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
        <h2 class="form-title">注册实践星</h2>
        <!-- <form method="POST" class="register-form" id="register-form"> -->
        <form class="register-form" method="POST" th:action="@{/registration}" th:object="${user}">
                <input id="name" name="name" placeholder="姓名" required th:field="*{name}"
                       type="text">
                <input id="email" name="email" placeholder="电子邮箱" required th:field="*{email}"
                       type="email">
                <input id="password" name="password" placeholder="密码" required th:field="*{password}"
                       type="password">
                <input class="agree-term" id="agree-term" name="agree-term" type="checkbox">
                <input class="btn btn-primary" id="sign-up" name="signup" type="submit" value="立即注册">
        </form>
</body>
</html>